package zry.Achievement.Reward;

import lombok.Data;

import java.sql.Date;

@Data
public class Reward {
    private String a_id;
    private String r_name;
    private String r_type;
    private String r_level;
    private String r_ranking;
    private Date r_time;
    private String r_supporting;

    public Reward() {
    }

    public Reward(String achievement_id, String reward_name, String reward_type, String reward_level, String reward_ranking, Date reward_time, String reward_supporting) {
        this.a_id = achievement_id;
        this.r_name = reward_name;
        this.r_type = reward_type;
        this.r_level = reward_level;
        this.r_ranking = reward_ranking;
        this.r_time = reward_time;
        this.r_supporting = reward_supporting;
    }

    @Override
    public String toString() {
        return "成果id：" + a_id +
                "\n奖励名称：" + r_name +
                "\n奖励等级：" + r_type +
                "\n获奖等级：" + r_level +
                "\n排名：" + r_ranking +
                "\n获奖时间：" + r_time +
                "\n佐证材料：" + r_supporting;
    }
}

